// @ts-ignore
import * as VueRouter from "vue-router";

const routes = [
  { path: "/", redirect: "/WindowMain" },
  {
    path: "/WindowMain",
    component: () => import("./Window/Page1.vue"),
  },
  {
    path: "/testSideDiv",
    component: () => import("./Component/TestSideDiv.vue"),
  },
];
//导出路由对象
export let router = VueRouter.createRouter({
  history: VueRouter.createWebHistory(),
  routes,
});
